﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="ViewApplicationDetailNeedSend.aspx.cs" Inherits="WXYW.ViewApplicationDetailNeedSend" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitlePlaceHolder" runat="server">
    查看申请单
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ButtonPlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="RightContentPlaceHolder" runat="server">
    <div class="buttonHeader" align="right">
        <img src="image/operateicon/back_back.gif" alt="" />
        <asp:HyperLink ID="backHyperLink" runat="server" NavigateUrl="~/FinishMaintaince.aspx">返回</asp:HyperLink>
    </div>
    <table width="100%" style="border-collapse: collapse" border="1">
        <tr style="height: 25px">
            <td style="width: 10%">
                <b>RMA #</b>
            </td>
            <td style="width: 40%">
                <asp:Label ID="RMACodeLabel" runat="server"></asp:Label>
            </td>
            <td style="width: 10%">
                <b>流水号</b>
            </td>
            <td style="width: 40%">
                <asp:Label ID="runningNumberLabel" runat="server"></asp:Label>
            </td>
        </tr>
        <tr style="height: 25px">
            <td>
                <b>公司/个人名称</b>
            </td>
            <td>
                <asp:Label ID="companyLabel" runat="server"></asp:Label>
            </td>
            <td>
                <b>收货日期</b>
            </td>
            <td>
                <asp:Label ID="receiveTimeLabel" runat="server"></asp:Label>
            </td>
        </tr>
        <tr style="height: 25px">
            <td>
                <b>公司/个人地址</b>
            </td>
            <td>
                <asp:Label ID="addressLabel" runat="server"></asp:Label>
            </td>
            <td>
            </td>
            <td>
            </td>
        </tr>
        <tr style="height: 25px">
            <td>
                <b>联系人</b>
            </td>
            <td>
                <asp:Label ID="contactLabel" runat="server"></asp:Label>
            </td>
            <td>
                <b>联系传真</b>
            </td>
            <td>
                <asp:Label ID="faxLabel" runat="server"></asp:Label>
            </td>
        </tr>
        <tr style="height: 25px">
            <td>
                <b>联系电话</b>
            </td>
            <td>
                <asp:Label ID="phoneNumberLabel" runat="server"></asp:Label>
            </td>
            <td>
                <b>电子邮件</b>
            </td>
            <td>
                <asp:Label ID="emailLabel" runat="server"></asp:Label>
            </td>
        </tr>
        <tr style="height: 25px">
            <td colspan="4">
            </td>
        </tr>
    </table>
    <asp:GridView ID="productGridView" runat="server" AutoGenerateColumns="False" Width="100%"
        CssClass="tableList" OnRowDataBound="productGridView_RowDataBound">
        <Columns>
            <asp:TemplateField HeaderImageUrl="~/image/operateicon/button_Select.gif">
                <EditItemTemplate>
                    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                </EditItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="IDLbl" runat="server"></asp:Label>
                </ItemTemplate>
                <HeaderStyle Wrap="False" />
                <ItemStyle Wrap="False" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="产品型号">
                <ItemTemplate>
                    <%#Eval("ProductType.ProductTypeName")%>
                </ItemTemplate>
                <HeaderStyle Wrap="False" />
                <ItemStyle Wrap="False" />
            </asp:TemplateField>
            <asp:BoundField HeaderText="序列号" DataField="ProductSerialNumber">
                <HeaderStyle Wrap="False" />
                <ItemStyle Wrap="False" />
            </asp:BoundField>
            <asp:BoundField HeaderText="版本号" DataField="ProductVersionNumber">
                <HeaderStyle Wrap="False" />
                <ItemStyle Wrap="False" />
            </asp:BoundField>
            <asp:TemplateField HeaderText="故障描述">
                <ItemTemplate>
                    <asp:Label ID="TextBox2" runat="server" Text='<%# Bind("ProductProblemDescription") %>'></asp:Label>
                </ItemTemplate>
                <HeaderStyle Wrap="False" />
            </asp:TemplateField>
            <asp:BoundField HeaderText="产品外观/附件" DataField="ProductAppearance">
                <HeaderStyle Wrap="False" />
            </asp:BoundField>
            <asp:TemplateField HeaderText="购买时间">
                <ItemTemplate>
                    <%#(Convert.ToDateTime(Eval("ProductPurchaseDateTime"))).ToString("yyyy-MM-dd")%>
                </ItemTemplate>
                <HeaderStyle Wrap="False" />
                <ItemStyle Wrap="False"/>
            </asp:TemplateField>
            <asp:BoundField HeaderText="保修性质" DataField="ProductRepairType">
                <HeaderStyle Wrap="False" />
                <ItemStyle Wrap="False" />
            </asp:BoundField>
            <asp:BoundField HeaderText="维修零件" DataField="RepairAccessory">
                <HeaderStyle Wrap="False" />
            </asp:BoundField>
            <asp:TemplateField HeaderText="工程师">
                <ItemTemplate>
                    <%#Eval("User.ContactPerson")%>
                </ItemTemplate>
                <HeaderStyle Wrap="False" />
                <ItemStyle Wrap="False"/>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="备注">
                <ItemTemplate>
                    <asp:Label ID="TextBox1" runat="server" Text='<%# Bind("Remark") %>' ></asp:Label>
                </ItemTemplate>
                <HeaderStyle Wrap="False" />
            </asp:TemplateField>
            <asp:BoundField HeaderText="维修完成时间" DataField="RepairCompleteDateTime" DataFormatString="{0:yyyy-MM-dd HH:mm}">
                <HeaderStyle Wrap="False" />
                <ItemStyle Wrap="False"/>
            </asp:BoundField>
        </Columns>
    </asp:GridView>
</asp:Content>
